﻿Imports System
Imports System.Reflection

Namespace System.Workflow.Activities.Rules
    Friend Class RuleMethodInvokeExpressionInfo
        Inherits RuleExpressionInfo
        ' Methods
        Friend Sub New(ByVal mi As MethodInfo, ByVal needsParamsExpansion As Boolean)
            MyBase.New(mi.ReturnType)
            Me.methodInfo = mi
            Me.needsParamsExpansion = needsParamsExpansion
        End Sub


        ' Properties
        Friend ReadOnly Property MethodInfo As MethodInfo
            Get
                Return Me.methodInfo
            End Get
        End Property

        Friend ReadOnly Property NeedsParamsExpansion As Boolean
            Get
                Return Me.needsParamsExpansion
            End Get
        End Property


        ' Fields
        Private methodInfo As MethodInfo
        Private needsParamsExpansion As Boolean
    End Class
End Namespace

